# -*- coding: utf-8 -*-
"""
-------------------------------------------------
Project Name: luffcity study project
File Name: start.py
Author: kij
Create Date: 2021/2/25
-------------------------------------------------
"""
import socket

client = socket.socket()
client.connect(("192.168.1.27", 8002))  # windows 的ip地址
client.sendall('hello'.encode('utf-8'))
reply = client.recv(1024)
print(reply.decode('utf-8'))
client.close()